home *** CD-ROM | disk | FTP | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / usr / include / sys / var.h.z / var.h
C/C++ Source or Header  |  1992-04-03  |  3KB  |  74 lines

  1. #ifndef __SYS_VAR_H__
  2. #define __SYS_VAR_H__
  3.  
  4. /**************************************************************************
  5.  *                                      *
  6.  *          Copyright (C) 1989, Silicon Graphics, Inc.          *
  7.  *                                      *
  8.  *  These coded instructions, statements, and computer programs  contain  *
  9.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  10.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  11.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  12.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  13.  *                                      *
  14.  **************************************************************************/
  15. /*    Copyright (c) 1984 AT&T    */
  16. /*      All Rights Reserved      */
  17.  
  18. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  19. /*    The copyright notice above does not evidence any       */
  20. /*    actual or intended publication of such source code.    */
  21.  
  22. #ident    "$Revision: 3.17 $"
  23.  
  24. /*
  25.  * System Configuration Information
  26.  */
  27. struct var {
  28.     int    v_buf;        /* Nbr of I/O buffers.            */
  29.     int    v_call;        /* Nbr of callout (timeout) entries.    */
  30.     int    v_inode;    /* Size of incore inode table.        */
  31.     char *    ve_inode;    /* Ptr to end of incore inodes.        */
  32.     int    v_file;        /* Size of file table.            */
  33.     char *    ve_file;    /* Ptr to end of file table.        */
  34.     int    v_mount;    /* Size of mount table.            */
  35.     char *    ve_mount;    /* Ptr to end of mount table.        */
  36.     int    v_proc;        /* Size of proc table.            */
  37.     char *    ve_proc;    /* Ptr to next available proc entry    */
  38.                 /* following the last one used.        */
  39.     int    v_pregion;    /* Number of pregions on free list.    */
  40.     int    v_region;    /* Number of regions on free list.    */
  41.     int    v_clist;    /* Number of clists allocated.        */
  42.     int    v_maxup;    /* Max number of processes per user.    */
  43.     int    v_hbuf;        /* Nbr of hash buffers to allocate.    */
  44.     int    v_hmask;    /* Hash mask for buffers.        */
  45.     int    v_syssegsz;    /* tlb mapped kernel segment size    */
  46.     int    v_maxpmem;    /* The maximum physical memory to use.    */
  47.                 /* If v_maxpmem == 0, then use all    */
  48.                 /* available physical memory.        */
  49.                 /* Otherwise, value is amount of mem to    */
  50.                 /* use specified in pages.        */
  51.     int    v_maxdmasz;    /* Max dma unbroken dma transfer size.    */
  52.     int    v_nofiles;    /* Maximum number of open files per    */
  53.                 /* process.                */
  54.  
  55.     int    v_nqueue;    /* Nbr of streams queues.        */
  56.     int    v_nstream;    /* Number of stream head structures.    */
  57.     int    v_nblk4096;    /* Number of 4096 bytes stream buffers.    */
  58.     int    v_nblk2048;    /* Number of 2048 bytes stream buffers.    */
  59.     int    v_nblk1024;    /* Number of 1024 bytes stream buffers.    */
  60.     int    v_nblk512;    /* Number of 512 bytes stream buffers.    */
  61.     int    v_nblk256;    /* Number of 256 bytes stream buffers.    */
  62.     int    v_nblk128;    /* Number of 128 bytes stream buffers.    */
  63.     int    v_nblk64;    /* Number of 64 bytes stream buffers.    */
  64.     int    v_nblk16;    /* Number of 16 bytes stream buffers.    */
  65.     int    v_nblk4;    /* Number of 4 bytes stream buffers.    */
  66.     daddr_t    v_ulimit;    /* system default max write address.    */
  67.     int    v_dquot;    /* size of incore dquot table */
  68.     char *    ve_dquot;    /* Ptr to end of incore dquot */
  69. };
  70.  
  71. extern struct var v;
  72.  
  73. #endif /* __SYS_VAR_H__ */
  74.